JAMS Developer Guide
Execute Method (PSActivityGeneric<TResult>)


MVPSI.JAMS.Activities.PowerShell Namespace > PSActivityGeneric<TResult> Class : Execute Method
Checks for a PSWorkflowHost and uses it if found. Otherwise creates a new one.
Syntax
'Declaration
 
Protected Overrides Sub Execute( _
   ByVal context As System.Activities.NativeActivityContext _
) 
'Usage
 
Dim instance As PSActivityGeneric(Of TResult)
Dim context As System.Activities.NativeActivityContext
 
instance.Execute(context)
protected override void Execute( 
   System.Activities.NativeActivityContext context
)

Parameters

context
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PSActivityGeneric<TResult> Class
PSActivityGeneric<TResult> Members